package month4.day5.water;

public class Fish implements Swim{
    private String kine;
    @Override
    public void swim() {
        System.out.println("摆动尾巴游动");
    }

    @Override
    public String toString() {
        return "鱼的种类是" +
                kine ;
    }

    public Fish(String kine) {
        this.kine = kine;
    }

    public String getKine() {
        return kine;
    }

    public void setKine(String kine) {
        this.kine = kine;
    }
}
